using System;
using System.Collections.Generic;
using System.Text;

namespace Business
{
    public class clsSach
    {
        //Fields.
        private String maSach;
        private String tenSach;
        private clsTheLoai theLoai;
        private clsTacGia tacGia;        
        private clsNhaXB nhaXB;
        private int namXB;
        private long gia;

        //Constructors.
        public clsSach()
        {
        }

        public clsSach(String maSach, String tenSach, clsTheLoai theLoai, 
                        clsTacGia tacGia, clsNhaXB nhaXB, int namXB, long gia)
        {
            this.maSach = maSach;
            this.tenSach = tenSach;
            this.theLoai = theLoai;
            this.tacGia = tacGia;
            this.nhaXB = nhaXB;
            this.namXB = namXB;
            this.gia = gia;
        }

        //Properties.
        public String MaSach
        {
            set { this.maSach = value; }
            get { return this.maSach; }
        }

        public String TenSach
        {
            set { this.tenSach = value; }
            get { return this.tenSach; }
        }

        public clsTheLoai TheLoai
        {
            set { this.theLoai = value; }
            get { return this.theLoai; }
        }

        public clsTacGia TacGia
        {
            set { this.tacGia = value; }
            get { return this.tacGia; }
        }

        public clsNhaXB NhaXB
        {
            set { this.nhaXB = value; }
            get { return this.nhaXB; }
        }

        public int NamXB
        {
            set { this.namXB = value; }
            get { return this.namXB; }
        }

        public long Gia
        {
            set { this.gia = value; }
            get { return this.gia; }
        }

        //Methods.
    }
}
